package com.touchfired.common.core.event.impl;

import com.touchfired.common.core.event.BaseEvent;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.HttpHeaders;
import lombok.Getter;

/**
 * 连接事件
 *
 * @author 幸佳俊
 */
@Getter
public class ConnectedEvent extends BaseEvent {

    private HttpHeaders headers;
    private ChannelHandlerContext ctx;

    public ConnectedEvent(ChannelHandlerContext ctx, HttpHeaders headers) {
        super(ctx);
        this.ctx = ctx;
        this.headers = headers;
    }
}
